﻿using DtoFw.Enum;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DtoFw.Query
{
    public class EvidenceTransfereReqDto:BaseOperator
    {
        public long? ApproveId { get; set; }
        /// <summary>
        /// 审核中  枚举 0 与1  当具备审核时，审核完成后，才能改变物品状态）
        /// </summary>
        public int? ApproveStatus { get; set; }
        /// <summary>
        /// 流转类别字典ID
        /// </summary>
        public long? DeliveryDicType { get; set; }
        /// <summary>
        /// 中文 (登记 入库 销毁 回库 送检  更换位置 等）
        /// </summary>
        public string DeliveryDicTypeName { get; set; } = string.Empty;
        /// <summary>
        /// 交接单号
        /// </summary>
        public string DeliveryNo { get; set; } = string.Empty;
        /// <summary>
        /// 流转时间
        /// </summary>
        public DateTime? DeliveryTime { get; set; }
        public long EvidenceId { get; set; }
        /// <summary>
        /// 物品数量
        /// </summary>
        public int? EvidenceQuantity { get; set; }
        /// <summary>
        /// 物品状态（已登记0、已入库1、已出库2
        /// </summary>
        public int? EvidenceStatus { get; set; }
        /// <summary>
        /// 1是0否
        /// </summary>
        public int? HistoryStatus { get; set; } = 0;
        public string Location { get; set; } = string.Empty;
        public long? LocationId { get; set; }
        /// <summary>
        /// 开柜状态
        /// </summary>
        public int? LocationStatus { get; set; }
        /// <summary>
        /// 存放时间
        /// </summary>
        public DateTime? LocationTime { get; set; }
        /// <summary>
        /// 经办人
        /// </summary>
        public string Operator { get; set; } = string.Empty;
        public string OperatorOrgan { get; set; } = string.Empty;
        public string OperatorOrganNo { get; set; } = string.Empty;
        public string OperatorPhone { get; set; } = string.Empty;
        public long? OperatorSignId { get; set; }
        /// <summary>
        /// 接收人
        /// </summary>
        public string Receiver { get; set; } = string.Empty;
        public string ReceiverOrgan { get; set; } = string.Empty;
        public string ReceiverOrganNo { get; set; } = string.Empty;
        public string ReceiverPhone { get; set; } = string.Empty;
        public long? ReceiverSignId { get; set; }
        public string Remark { get; set; } = string.Empty;
        /// <summary>
        /// 保存期限/回库时间
        /// </summary>
        public DateTime? ReturnTime { get; set; }
        /// <summary>
        /// 移交人
        /// </summary>
        public string Transferor { get; set; } = string.Empty;
        public string TransferorOrgan { get; set; } = string.Empty;
        public string TransferorOrganNo { get; set; } = string.Empty;
        public string TransferorPhone { get; set; } = string.Empty;
        public long? TransferorSignId { get; set; }
        /// <summary>
        /// 入库处置意见
        /// </summary>
        public string DisposalOpinions { get; set; }

    }
    public class EvidenceTransferePostReqDto : EvidenceTransfereReqDto 
    {
    
    }
    public class EvidenceTransfereListPostReqDto:BaseOperator
    {
        /// <summary>
        /// 1入库2出库3更换位置
        /// </summary>
        public int Status { get; set; }
        public List<string> imgs { get; set; }
        public List<EvidenceTransfereReqDto> list { get; set; }
    }

    public class EvidenceTransfereImgEntity
    {
        public string url { get; set; }
        public string type { get; set; }
    }

    public class EvidenceTransferePutReqDto : EvidenceTransfereReqDto
    {
        public long Id { get; set; }
    }

    public class EvidenceTransfereQueryReqDto:BaseQuery
    {
        public long EvidenceId { get; set; }
    }
}
